<!--{template admin/header}-->

	<form action="manage.php?m=visitor" method="post" name="search">
	<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
		<tr class="header">
			<td colspan="2">搜索</td>
		</tr>
		<tr>
			<td class="altbg1" width="150">
			关键词:
			</td>
			<td class="altbg2">
			<input name="name" type="text" value="{$name}" size="40">		
			</td>
		</tr>
		<tr>
			<td class="altbg1" width="150">&nbsp;
			</td>
			<td class="altbg2">
				<button name="do" value='' type="submit" class="button">搜索一下</button>&nbsp;&nbsp;
				<button class="button" type="button" onclick="window.location.href='manage.php?m=visitors';return false;">全部</button>
			</td>
		</tr>
		
	</table>
	</form>

<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
	<form method="post" action="manage.php?m=visitor&a={$action}">
		<tr align="center" class="header">
			<td width="10%">
			<input type="checkbox" name="chkall" onclick="checkall(this.form, 'ids')" class="checkbox">全删</td>
			<td width="20%">电话</td>
			<td width="20%">昵称</td>
			<td width="20%">操作</td>
		</tr>
		<!--{loop $item_list $member}-->
		<tr align="center" class="smalltxt">
			<td class="altbg1">
			<input type="checkbox" name="ids[]" value="{$member[id]}" class="checkbox">删</td>
			<td class="altbg2"><a href="manage.php?m=visitor&a=modify&id={$member[id]}">{$member[phone]}</a></td>
			<td class="altbg1">{$member[nick_name]}</td>
			<td class="altbg2">
				<a href="manage.php?m=visitor&a=modify&id={$member[id]}">[编辑]</a>
				<a href="manage.php?m=visitor&a=do_delete&ids={$member[id]}" onclick="return delete_confirm();">[删除]</a>
			</td>
		</tr>
		<!--{/loop}-->
		
		<!--{if $page_html}-->
		<tr align="center">
			<td colspan="4" class="altbg1">
				{$page_html}
			</td>
		</tr>
		<!--{/if}-->
</table>

<br>
<center><input type="submit" name="editsubmit" value="提 交" class="button" onclick="return delete_confirm();"></center>
</form>

<script type="text/javascript" src="templates/default/js/travel_info.js"></script>